namespace FytSoa.Application.Erp;

/// <summary>
/// BOM物料详细清单&成本
/// </summary>
public class ErpBomDetailedDto
{
    /// <summary>
    /// Bom编号
    /// </summary>
    public long Id { get; set; } = 0;
    
    /// <summary>
    /// 产品编号
    /// </summary>
    public long ProductId { get; set; } = 0;
    
    /// <summary>
    /// 产品编号
    /// </summary>
    public string ProductNumber { get; set; }
    
    /// <summary>
    /// Bom父级
    /// </summary>
    public long ParentId { get; set; } = 0;
    
    /// <summary>
    /// 产品名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 是否Bom产生
    /// </summary>
    public bool IsBom { get; set; } = false;
    
    /// <summary>
    /// 生产数量
    /// </summary>
    public int ProduceCount { get; set; } = 0;

    /// <summary>
    /// 领料数量
    /// </summary>
    public int PullCount { get; set; } = 0;

    /// <summary>
    /// Bom数量
    /// </summary>
    public int BomCount { get; set; } = 0;

    /// <summary>
    /// 库存数
    /// </summary>
    public int StockCount { get; set; } = 0;
    
    /// <summary>
    /// Bom版本
    /// </summary>
    public string Version { get; set; }

    /// <summary>
    /// Bom成本
    /// </summary>
    public decimal BomPrice { get; set; } = 0;

    /// <summary>
    /// 物料成本
    /// </summary>
    public decimal ProductPrice { get; set; } = 0;
}